package com.jml.juc.lock.base.moke;

import com.jml.juc.lock.base.AbstractQueuedSynchronizerDemo;
import com.jml.juc.lock.base.ReentrantLockDemo;

public class LockDemo {

    public NonfairSync sync = new NonfairSync();

    abstract static class Sync extends LockDemoParent{

    }
    static final class NonfairSync extends Sync{
        @Override
        public void lockDemoParentTest001(){

        }

        public ConditionObject getConditionObject() {
            return new ConditionObject();
        }
    }

    public void getConditionObject (){
        sync.getConditionObject().conditionObjectTest();
    }
}
